package com.jpx.jxcpay.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;




import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mht
 * @since 2020-03-06
 */
@Component
@Data
@Accessors(chain = true)
public class Alipayorder extends Model<Alipayorder> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String appid;

    private String orderno;

    private String username;

    private String trade;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
